package com.attilax.device;

import com.attilax.io.filex;

public class finalyTest {
	
	public static void main(String[] args) throws Throwable {
		finalyTest x=	new finalyTest();
		x.echo("a");
		System.out.println("--f");
		//x.finalize();
	}
	
	
	private void echo(String string) {
	System.out.println("echo");
		
	}


	@Override
	protected void finalize() throws Throwable {
		filex.save("txt", "c:\\00fina.txt");
		 System.out.println("---my finalize");
		super.finalize(); System.out.println("---my finaliz2e");
	}

}
